//
//
//  @ Project : AgriMarketSystem
//  @ File Name : AgriMarket.cs
//  @ Date : 18/10/2013
//  @ Author : NTT
//
//
namespace AgriMarketService
{
    public class User
    {
        private int userId;

        public int UserId
        {
            get { return userId; }
            set { userId = value; }
        }
        private string userName;

        public string UserName
        {
            get { return userName; }
            set { userName = value; }
        }
        private string address;

        public string Address
        {
            get { return address; }
            set { address = value; }
        }
        private string phonenumber;

        public string Phonenumber
        {
            get { return phonenumber; }
            set { phonenumber = value; }
        }

        private string email;

        public string Email
        {
            get { return email; }
            set { email = value; }
        }

        private string image;

        public string Image
        {
          get { return image; }
          set { image = value; }
        }

        public static User GetUser(int userId)
        {
            return new User() { UserId = userId, UserName = "Nguyen van "+userId.ToString(), Address = "Quan 10", Phonenumber = "0123456789", Email="nguyentantoanuit@gmail.com", Image="Images/Desert.jpg" };
        }

        
    }
}